var render = function () {
  var _vm = this;
  var _h = _vm.$createElement;
  var _c = _vm._self._c || _h;
  return _c(
    "div",
    { staticClass: "isHeader red-wrap red-opened" },
    [
      _c(
        "div",
        { staticClass: "headerWrap" },
        [
          _c(
            "x-header",
            { staticClass: "header" },
            [
              _vm._v("红包"),
              _c(
                "router-link",
                {
                  attrs: {
                    slot: "right",
                    to: {
                      path: "/redPacket/rule",
                      query: { redpacketId: _vm.redpacketId },
                    },
                  },
                  slot: "right",
                },
                [_vm._v("活动规则")]
              ),
            ],
            1
          ),
        ],
        1
      ),
      _vm._v(" "),
      _vm.loadingHttp
        ? _c(
            "scroll",
            {
              ref: "scroll",
              attrs: {
                data: _vm.allGainList,
                pullUpLoad: _vm.pullUpLoad,
                pullDownRefresh: _vm.pullDownRefresh,
              },
              on: { pullingDown: _vm.pullingDown, pullingUp: _vm.pullingUp },
            },
            [
              _c("div", { staticClass: "red-top" }, [
                _c("div", { staticClass: "red-info" }, [
                  _c("div", { staticClass: "red-avartar" }, [
                    _vm.gainRedpacket.redpacket_pic
                      ? _c("img", {
                          attrs: {
                            src:
                              _vm.imgRequest + _vm.gainRedpacket.redpacket_pic,
                            alt: "",
                          },
                          on: { error: _vm.removePic },
                        })
                      : _c("img", {
                          attrs: {
                            src: require("@/assets/images/personalCenter/head_default.png"),
                          },
                        }),
                  ]),
                  _vm._v(" "),
                  _c("p", [
                    _vm._v(_vm._s(_vm.gainRedpacket.redpacket_title)),
                    _vm.gainRedpacket.is_best_lucky == 1
                      ? _c("span", { staticClass: "best-luck" }, [
                          _c("i", { staticClass: "icon icon-luck" }),
                          _vm._v("手气最佳"),
                        ])
                      : _vm._e(),
                  ]),
                  _vm._v(" "),
                  _vm.gainRedpacket.self_gain_money
                    ? _c("div", { staticClass: "money-info" }, [
                        _c("h4", [
                          _vm._v(_vm._s(_vm.gainRedpacket.self_gain_money)),
                        ]),
                        _vm._v(" "),
                        _c("p", { staticClass: "red-text-blue" }, [
                          _vm._v("已存入余额，可直接消费"),
                        ]),
                      ])
                    : _c("h4", { staticClass: "finished" }, [
                        _vm._v("手速太慢，红包已全部发完"),
                      ]),
                ]),
                _vm._v(" "),
                _c(
                  "div",
                  { staticClass: "red-winner" },
                  _vm._l(_vm.allGainList, function (item, index) {
                    return _c("dl", { key: index }, [
                      _c("dt", [
                        item.user_pic
                          ? _c("img", {
                              attrs: { src: _vm.imgRequest + item.user_pic },
                              on: {
                                error: function ($event) {
                                  _vm.removeImg(index);
                                },
                              },
                            })
                          : _c("img", {
                              attrs: {
                                src: require("@/assets/images/personalCenter/head_default.png"),
                              },
                            }),
                      ]),
                      _vm._v(" "),
                      _c("dd", [
                        _c("p", [_vm._v(_vm._s(item.username))]),
                        _vm._v(" "),
                        _c("p", [_vm._v(_vm._s(item.user_gain_date))]),
                        _vm._v(" "),
                        _c("span", { staticClass: "red-money" }, [
                          _vm._v(_vm._s(item.user_gain_money)),
                        ]),
                      ]),
                    ]);
                  })
                ),
              ]),
            ]
          )
        : _vm._e(),
    ],
    1
  );
};
var staticRenderFns = [];
var esExports = { render: render, staticRenderFns: staticRenderFns };
export default esExports;

//////////////////
// WEBPACK FOOTER
// ./node_modules/_vue-loader@13.7.2@vue-loader/lib/template-compiler?{"id":"data-v-274a9b10","hasScoped":true,"transformToRequire":{"video":["src","poster"],"source":"src","img":"src","image":"xlink:href"},"buble":{"transforms":{}}}!./node_modules/_vux-loader@1.2.9@vux-loader/src/before-template-compiler-loader.js!./node_modules/_vux-loader@1.2.9@vux-loader/src/template-loader.js!./node_modules/_vue-loader@13.7.2@vue-loader/lib/selector.js?type=template&index=0!./src/components/redPacket/details.vue
// module id = null
// module chunks =
